package com.perceptivesoftware.licensing.client.dialogs.useradmin.plugin;

import com.google.gwt.user.client.rpc.IsSerializable;

public abstract class SecurityManagerNavItem implements IsSerializable, Comparable<SecurityManagerNavItem> {

	private String name;

	public int compareTo(final SecurityManagerNavItem o) {
		return getName().compareTo(o.getName());
	}

	@SuppressWarnings("unused")
	// for Serialization
	private SecurityManagerNavItem() {
		// empty constructor for serialization
	}

	public SecurityManagerNavItem(final String name) {
		this.name = name;
	}

	public String getName() {
		return name;
	}

	public void setName(final String name) {
		this.name = name;
	}

	public abstract String getToolTip();
}
